package com.small.nacos.api.config.listener;

import java.util.concurrent.Executor;

/**
 * @Author zhoujin
 * @Date 2022/11/24 19:01
 */
public interface Listener {

    /**
     * 获取线程池
     *
     * @return
     */
    Executor getExecutor();

    /**
     * 获取配置信息
     *
     * @param configInfo
     */
    void receiveConfigInfo(final String configInfo);
}
